public enum BadugiFigura 
{
    as(13), f2(12), f3(11), f4(10), f5(9), f6(8), f7(7), f8(6), f9(5), f10(4),
    walet(3), dama(2), krol(1);

    private final int value;
    private BadugiFigura(int value) 
    {
        this.value = value;
    }

    public int getValue() 
    {
        return value;
    }
}